package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-主体信息
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_entity_info")
@ApiModel(value = "ErpEntityInfo对象", description = "ERP系统-主体信息")
public class ErpEntityInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("主体类型 1-企事业单位 2-个人")
    private Integer type;

    @ApiModelProperty("主体名称")
    private String name;

    @ApiModelProperty("简称")
    private String simpleName;

    @ApiModelProperty("主体编码（1填写社会统一代码，2填写身份证号）")
    private String code;

    @ApiModelProperty("联系人名称")
    private String contractName;

    @ApiModelProperty("联系电话")
    private String contractPhone;

    @ApiModelProperty("联系地址")
    private String contractAddress;

    @ApiModelProperty("公司成立日期")
    private Date establishmentDate;

    @ApiModelProperty("公司注册资本（万）")
    private Integer registeredCapital;

    @ApiModelProperty("公司营业执照")
    private String businessLicense;

    @ApiModelProperty("个人身份证正面")
    private String idcardFront;

    @ApiModelProperty("个人身份证背面")
    private String idcardBack;

    @ApiModelProperty("主体身份，多个逗号隔开 A-客户 B-供应商 C-创业合伙人 D-投资人 E-渠道合作商 F-综服合作商 G-担保方")
    private String identity;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    private Integer isDeleted;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
